package cn.edu.huas.shopping.pojo;

import java.util.Date;

public class Order {
    private String id;
    private double account;
    private int qty;//数量
    private Date dtime;
    private Enum  ostate;
    private int aid;
    private int uid;

    public Order() {
    }

    public Order(String id) {
        this.id = id;
    }

    public Order(String id, double account, int qty, int aid, int uid) {
        this.id = id;
        this.account = account;
        this.qty = qty;
        this.aid = aid;
        this.uid = uid;
    }

    public Order(String id, double account, int qty, int aid) {
        this.id = id;
        this.account = account;
        this.qty = qty;
        this.aid = aid;
    }

    public Order(String id, double account, int qty, Date dtime, Enum ostate, int aid, int uid) {
        this.id = id;
        this.account = account;
        this.qty = qty;
        this.dtime = dtime;
        this.ostate = ostate;
        this.aid = aid;
        this.uid = uid;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getAccount() {
        return account;
    }

    public void setAccount(double account) {
        this.account = account;
    }

    public int getQty() {
        return qty;
    }

    public void setQty(int qty) {
        this.qty = qty;
    }

    public Date getDtime() {
        return dtime;
    }

    public void setDtime(Date dtime) {
        this.dtime = dtime;
    }

    public Enum getOstate() {
        return ostate;
    }

    public void setOstate(Enum ostate) {
        this.ostate = ostate;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }
}
